package com.wzh.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;

import lombok.Data;

/**
 * 
 * 
 * @author wzh
 * @email 1281204121@qq.com
 * @date 2022-01-22 21:07:56
 */
@Data
@TableName("t1_product")
public class ProductEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 序号
	 */
	@TableId
	private Integer id;
	/**
	 * 产品名称
	 */
	private String pname;
	/**
	 * 产品分类
	 */
	private String type;
	/**
	 * 库存
	 */
	private Integer total;
	/**
	 * 价格
	 */
	private BigDecimal price;

}
